package com.ydd.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@ApiModel("分类实体类")
@NoArgsConstructor
@AllArgsConstructor
public class SysCate implements Serializable {

    private Integer id;

    @ApiModelProperty("分类名称")
    private String catename;

    @ApiModelProperty("字体图标class")
    private String icon;

    @ApiModelProperty("排序大小")
    @JsonProperty("sort_num")
    private Integer sortNum;

    @ApiModelProperty("是否默认数据,null表示不是,1表示是")
    @JsonProperty("dafault_data")
    private Integer defaultData;
}
